export interface MenuDto  {
    icon: string //Promise<typeof import('*.png')>
    iconSelected: string //Promise<typeof import('*.png')>
    activePath?: string[]
    title: string
    path: string
    meta?: {
        auth?: boolean
        hide?: boolean
    }
    children?: MenuDto[]
}

export default [
    {
        title: '线索公海',
        path: '/highseas/clues',
        icon: ('menu/icon-clues.png'),
        iconSelected: ('menu/icon-clues.png'),
    },
    {
        title: '抖音平台',
        path: '/tiktok',
        icon: ('menu/icon-tiktok.png'),
        iconSelected: ('menu/icon-tiktok.png'),
    },
    {
        title: '产品管理',
        icon: ('menu/icon-product.png'),
        iconSelected: ('menu/icon-product.png'),
        children: [
            {
                title: '产品分类',
                path: '/product/category',
            },
            {
                title: '产品库',
                path: '/product',
                activePath: ['/product/add', '/product/edit']
            },
        ]
    },
    {
        title: '小程序管理',
        path: '/miniprogram',
        icon: ('menu/icon-miniprogram.png'),
        iconSelected: ('menu/icon-miniprogram.png')
    },
    {
        title: '互动管理',
        path: '/interaction',
        icon: ('menu/icon-interaction.png'),
        iconSelected: ('menu/icon-interaction.png'),
        children: [
            {
                title: '留资表单',
                path: '/interaction/form',
                activePath: []
            },
            {
                title: '联系信息',
                path: '/interaction/info',
                activePath: []
            }
        ]
    },
    // {
    //     title: '员工管理',
    //     path: '/manage/staff',
    //     icon: ('menu/icon-staff.png'),
    //     iconSelected: ('menu/icon-staff.png')
    // },
]